# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        博智科技  
# Name:         demo2303
# Description:
# Author:       yzl
# Date:         2019-02-08
#-------------------------------------------------------------------------------


from numpy import *

a = arange(5)

print(a.shape)
print(a.shape[0])

a1 = array([arange(3),arange(3),arange(3)])
print(a1)
print(a1.shape)

a2 = array([['a','b','c'],[1,2,3],[1.1,1.2,1.35]])
print(a2)
print(a2.shape)
print("{} 是 {}维数组".format('a2',len(a2.shape)))
print(a2.shape[0])

